package com.donfu.system.domain.house;

import java.util.Date;

import com.donfu.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.donfu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 店铺信息对象 house_store
 * 
 * @author donfu
 * @date 2021-12-01
 */
@ApiModel(description = "店铺信息对象")
public class HouseStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    @ApiModelProperty(value = "主键id 自动生成，修改时必须要有",required = true)
    private Long id;

    /** 行政区域表的市ID */
    @ApiModelProperty(value = "城市Id 根据列表选择",required = true)
    @Excel(name = "行政区域表的市ID")
    private String city;

    /** 城市名称 */
    @ApiModelProperty(value = "所选的城市的名称")
    @Excel(name = "城市名称")
    private String cityName;

    /** 店铺名称 */
    @ApiModelProperty(value = "店铺名称 不能超过50个字符")
    @Excel(name = "店铺名称")
    private String name;

    /** 营业时间 */
    @ApiModelProperty(value = "营业时间 不能超过150个字符")
    @Excel(name = "营业时间")
    private String businessDateTime;

    /** 店铺地址 */
    @ApiModelProperty(value = "店铺地址 不能超过125个字符" )
    @Excel(name = "店铺地址")
    private String address;

    /** 店铺封面 */
    @ApiModelProperty(value = "店铺封面的路径")
    @Excel(name = "店铺封面")
    private String coverImgUrl;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间，自动生成")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @ApiModelProperty(value = "更新时间，自动生成")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 备用字段 */
    @ApiModelProperty("备用字段")
    @Excel(name = "备用字段")
    private String standby;

    /** 经度 */
    @ApiModelProperty("经度，通过接口生成")
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度，通过接口生成")
    @Excel(name = "纬度")
    private String latitude;

    @ApiModelProperty("店铺电话")
    @Excel(name = "电话")
    private String storePhone;

    /** 距离 不用存入数据库*/
    private Double distance;


    public String getStorePhone() {
        return storePhone;
    }

    public void setStorePhone(String storePhone) {
        this.storePhone = storePhone;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBusinessDateTime(String businessDateTime) 
    {
        this.businessDateTime = businessDateTime;
    }

    public String getBusinessDateTime() 
    {
        return businessDateTime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCoverImgUrl(String coverImgUrl) 
    {
        this.coverImgUrl = coverImgUrl;
    }

    public String getCoverImgUrl() 
    {
        return coverImgUrl;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setStandby(String standby) 
    {
        this.standby = standby;
    }

    public String getStandby() 
    {
        return standby;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return "HouseStore{" +
                "id=" + id +
                ", city='" + city + '\'' +
                ", cityName='" + cityName + '\'' +
                ", name='" + name + '\'' +
                ", businessDateTime='" + businessDateTime + '\'' +
                ", address='" + address + '\'' +
                ", coverImgUrl='" + coverImgUrl + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", standby='" + standby + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", storePhone='" + storePhone + '\'' +
                ", distance=" + distance +
                '}';
    }
}
